added fancywork to click event