Changed queue delcaration