Switching return to a tuple for the case when the server is functioning correctly