remove graph class and main does nothing