change true/false to 0, 1