Use functional pipeline for composition
Use custom version of FP
Remove debugging stuff