removed code duplication -- 'get-lines'