jay, a main method