graphics capable now; waiting for definition of graph draw function and input processing