refactoring resultset