Expansion of the code.

Strengthen the function of part.