Nice, as kirby said $iif is a great tool and easy to use and understand it can also shorten scripts like this one.