leaf based scheduler now functioning