begins work on graphs