added a max of 100 read lines