function now returns map, commented initializer