line extraction not based on selection