except View class,everything is done