hashmap added
rename longint for lower,higher cases