shorter "ternary" *sigh*