Homework for the BEWD class