implemented map exceptions