debugging and added even scheduler