added hm.java