add support for view function helper #4