basics working
added graphing