Changed queue structure and operations