here it would be nice to make a local variable instead of using 'it->second' all the time