simplify creation of map