adding scheduler block