would it be a bit simple we maintain this map instead of a normal hashmap in this class ?