Replacing HashMap for LinkedHashMap for the board