first draft of Conditions utility