defining graphics var and prompt comment