More function exercises.