Made an ending.
Auto cleaned the code