fixed: done was defined as a property and a method