put method in helper