modified krake queue for easier unit testing