result - small refactor