nice way of accessing the info in json figured out