updating RF code to work with AudioDataset