simplify creation of maps