Change 0/1 to zero(T)/one(T)