called in view 2