changed parse functionality to work