fp assignment 6