added commented static variable - need to check how it is supposed to work