add preparation of response