solution parsing