added hover and valuechange events