Quick working example. (has strange bug with showing second to last
insead of last read line)