Restore applicative style example