calling it in view 3