Create CapGain.java