refactored get column