Implement the basic version for parser