more realistic respond_to in doc