this makes sure that the function doesn't actually try to send data to the server