changes for graphics