initial schedular class logic