replaced pmap