init variables. format ternary operators.