 Found this odd design decision to use ternary operators. Might be able do away with it but need to verify.