Made the length of the queue a property