removed graph as a parameter to the productions since it wasn't used