Updated logic example.