greg's coding of the responses