Functions homework.