changed data taype passing and json file