first draft, missing compact linearization