Arranged coding style, and removed the useless statements.
Enhanced to start X.