change Map to HashMap