added map checker