added static keyword based progs