TODO  - reproduce a working c# example