0512 06 added Hashmap, maprep functions