Changed queue method