WIP. openize and lineize coded