Implement MAP

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>