Updated project Functions

Updated functions 3 to 5, added new function 6