adding the queue list newlines correctly