composing list of functions