Update the overlord solution

More generally, ternaries are confusing and should be avoided unless there isn't a better way to write the code.