dead code removal
more dead code removal
added example
updated example
updated read line bug