David can go to bed now. He _____ his homework.