be more explicit in checking for registerHelper function