implement Response class