some boiler plate
going back to java