homework from Bill