modified migrations and worked on dynamic graphing functions