remove hard coded to use json file