and rewrote it without all the ternary statements ...
# suitescript
b
and rewrote it without all the ternary statements and goofy methods