used java HashMap