Added showAllLines method