create a condition demo from cornell