fixed queue logic