use true or false to check conditions instead of y or n