Refactoring FP Playground