added pmap