converted render to respond_with