Didn't like the ternary.  Don't really like the if-then-else either.  Continue refactor
It works.  Not very readable.