complete the final exercise in modules and functions