added graph stuff
added sync stuff