I removed the variable because it was not used here, but left the call to `getColumn()` as it throws an exception if the column name does not exist, which I thought was the expected behaviour. I let you decide what to do here.