added onrename in comment