Finished ver0.1, need further optimization'