applicative: excercise 5