Implemented skeleton for parseResponse