initial version of response parser