added things to talk to graphics