fixed #2 added support for defining helpers