included FP in Scala for citation