added new mapping function