adding in helpers and formatting for views