static variable demo