properties should be declared before methods