renamed parse method to parseResponse, removed extra parameter