adds a check in init function to see if all audio is loaded