almost completed Function personal

almost completed Function personal  one error, still debugging