changed yes/no to true/false