Homework corrected