adding columns to the result table