code added to help user with fast click