scan parser