Wrote methods to fetch begin/end tag positions