commit to transfer to laptop
working code, after graphing library change