use 3.1jar then adjust code