writing response.txt worked