added standby and method for the scheduler