Applebug's homework