added graphing functions
added graphing functions