other notation in .java and index.js