new conditions format demo code