added offline example