[refactoring] moved partial resultoof context to external class