allowing curried methods to be passed to functions