Patches mapping