partially started section on functions