with java helper