Fixed syntax error. Defined helper before calling it.