messed with graphing stuff a bit