changing 0 to 1