Functions Composition Application Problem