added keyup event