carry offset in state, add skip_lines