Modified to add the new BWav sync call