fixing relationships
adding graph