Let Cc(X) = {f ∈ C(X) : |f (X)| ≤ ℵ0}, C F (X) = {f ∈ C(X) : |f (X)| < ∞}, and Lc(X) = {f ∈ C(X) : C f = X}, where C f is the union of all open subsets U ⊆ X such that |f (U )| ≤ ℵ0, and CF (X) be the socle of C(X) (i.e., the sum of minimal ideals of C(X)). It is shown that if X is a locally compact space, then Lc(X) = C(X) if and only if X is locally scattered. We observe that Lc(X) enjoys most of the important properties which are shared by C(X) and Cc(X). Spaces X such that Lc(X) is regular (von Neumann) are characterized. Similarly to C(X) and Cc(X), it is shown that Lc(X) is a regular ring if and only if it is ℵ0-selfinjective. We also determine spaces X such that Soc Lc(X) = CF (X) (resp.,Ri, where Ri = R for each i, and X has a unique infinite clopen connected subset. The converse of the latter result is also given. The spaces X for which CF (X) is a prime ideal in Lc(X) are characterized and consequently for these spaces, we infer that Lc(X) can not be isomorphic to any C(Y ).