added graphs, and disabled buttos