Updated comments to support my changing of the conditional statement to a ternary operators.