line method