create a way to return responses to requests