add parseData method to application