Simple functional programming
First set of polish for FP post