Queue assignment is done