better naming convention
added java example with valabind (works)