rename "curves" to "mapping"