add GetQueue method to scheduler