ReadLine method implemented