midlib final revisions