finished physio parsing program