In the early era of firearms, cannons of lesser size such as the falconet were sometimes named for birds of prey. Following this pattern, Italians applied moschetto or moschetta, meaning "sparrow hawk," to a small-caliber piece of ordnance in the 16th century. Spaniards borrowed this word as mosquete, and the French as mosquet, but both applied it to a heavy shoulder firearm rather than a cannon; English musket was borrowed soon thereafter from French. The word musket was retained after the original matchlock firing mechanism was replaced by a wheel lock, and retained still after the wheel lock was replaced by the flintlock. As the practice of rifling firearms—incising the barrel with spiral grooves to improve the bullet's accuracy—became more common, the term musket gradually gave way to the newer word rifle in the 18th century.