graphs fix attempt