higher order function
Writer