refactor column
remove many debugging lines, refactor, and add print method