restored click functionality