queue management problem