change more booleans to integer representation