declaring graphics var