removed static variable and method