use sendResponse everywhere