changed yes/no to 1,0