wrote toString() for Condition