Native code or something
Write the java logic
Add unit test