saving comparemap