initial graphing
better error reporting