Added click functionality