define klass in helper