cleanup
refactored getColumnFormat