write a new bit each time step