added simple click function