created the myClick directive