In about 1509 the wheellock was the next advance in muzzleloader technology. It did not have a match to keep lit and generated a spark mechanically with a wheel mechanism. But they were expensive to produce and cheaper (by half) so matchlocks remained in use.