refactored line function names