refactoring to make it easier to grab only the columns that you want