sample view and controller