added resource pkg to doc
added example