you should avoid ternary if statements... they are hard to read