result - small refactoring