using my hashMap implementation instead of java.util.HashMap