add collection command to collect values from specified rows and columns