Replacing List with LinkedMap