refactor column handling into own method
remove unhandled errors
moves methods into module
code harmonization