Functions lab 1