add a debug statement for responses