removed the deprecated addView function, cleaned up some text/comments