Changed HashMap to LinkedHashMap