added plumbing for later use merged mapper and dump mapper