added gear id mappings to gears, changed names of result tables