Update standardization of code.

I use very ternary function, can be?