migrate to linear

Untested as yet.