figuring out properties constructors in a class