API/potential/potential.java ---finish debuging