added some functions to the response log