implement mapping with help groovy script