fixed global setting behviour and replaced with instanced graphs