make doPut private