Added parseData method