add new view type
fix codestyle