change 1 and 0 to t and f