simple java source mod example