make use of getters in LoopedQueue