adding parsing mode enum