renamed functions to view_helpers