updated for new Accept header requirements