map element access by iterator instead of repeating element search