Many changes for hoo2013 task.