changing from True/False to 1/0