added full example (read-write-read emission setup)