logicals, thanks to Jos

http://board.s9y.org/viewtopic.php?f=4&t=19296