completed ch7 prog challenges 1 & 2