Curved funktion in the mapper