added queue_continum solution