added soundLoaded parameter