index2col working, have to clean up code