changes Map to HashMap