figuring out columns