Homework problem