add less-and and less-or type.