added specs and json view