don't make map unless you need to do an actual comparison