add two state and two mouseEvent