call different column values in a cycle