added control event binding