view to controller