refactoring openconvo lines