separate selection functions for carray, ctable