got parsing to work