Add parsing code