a few edits
added data.frame example