add if app["gears"] in the end so that it can proceed in case of 'gears' field not present