added functionality to get all columns