add view,collection class