Improvement : Eliminate trial codes.
Improvement : Adjust code logic.