trying out a simpler approach to native library