working with properties, getting errors