added avro support