added event listeners, name changed