using in class object to declare static fields