implemented schedule method for SPBScheduler