call it in the view not on the page