Create helper function.