further clarified outline, added function that loads JSON file and gives it a name that can be called using a further function