Made selectItems... public to avoid O(N^2) in batch selection