implemented RQ and RRobin