parse result (for refactoring.)