compare map code clean up