first working draft of the wrapper