added new functionality using fetching collection with json file