add collection spec and view