refactor: Extract common function call into helper
refactor: Extract common function call into helper

Bugfry/exercism,Bugfry/exercism,Bugfry/exercism,Bugfry/exercises,Bugfry/exercism,Bugfry/exercises,Bugfry/exercises,Bugfry/exercises,Bugfry/exercises,Bugfry/exercises,Bugfry/exercism,Bugfry/exercism