modified applicative example