How can I create a bespoke condition