add example for scratch communication