added tickclock
completed timestep tick check