adapt to handle string requests