first draft of functions lab