calling it in view 1