move List to HashMap