franky adds C wrapper in case we link with c++
franky adds a function call to make sure things work