getting graphs working again