added conversion of queue lengths to string