Higher order functions explored