added event emiting to Job