Aligned some parts of code to be better for read.