Implement queue popping logic