20141217: updated codes and final report