added getColChar function and cleaned stuff up