add view and json