modified Sound class.