add logic for 'y'; exercise complete