Implemented the respond sending