Added call to custom java function