refactoring, sliced queue access