Runs much faster without the hashmap...