new version with ttl on arecord