start adding support to open lines, refactor sigs