Moved readEvent' in the file and updated comments