simplify demo by using less-than semantics