finished updating past solutions to read data externally