using static field of JavaMOPMain everywhere instead