fixed new graphics syntax