refactors helper variable into presenter