view helper methods