Gear factory