add working pmap