Attempted part f of 2