functions lab completed