added code to some loadSound functions