indentation conversion
first use of the EventEmitter class