create a first working example of revealer based on the c source code