add view and part of statistics