added Avro condition class