debug version of graphics added