new functions - addColumn buggy