listener that increments integer property