added correct checks to .json file