added time interval to robot