Added code to set columns.