compound demo works