code alignment. See description!!!!

I did some code alignments, please make your code readable, and align
after copying and pasting or something else...