basic graphing functionality completed