Queue simulation