Optimizing the code.
formatting