empty dict means char is not found