Wrote prelim FP class