changed 'yes' and 'no' to 'y' and 'n' for user consistency