license and on click event added