modified the onChangeBehaviour
added bean implementation function