true/false -> 1/0