* added queue shuffling