modifying queue type