add open-line functions
add open-line bindings