ignore perlcritic warning about complex map functions