removed unneeded static variable