committing functions lab, not done with 5