bugfix: endless loop
goodProperty: slightly slower, but much simpler loop