pulled get_gearsets into its own function