1. create view 2.create controller