applicative: excercise 4