Added multiple gear functionality.