reading last three lines