scheduling algorithm improvements