defining graphics var