add some code at home.
modify view code for testing.