basic cffi integration starting to work