added scheduler