Updated true and false to 1 and 0