added client-side collection selection: still in progress, might not work