revisit cols func again