FPP: Completed the second function

FPP: Completed the second function