cleaned up sound functionality.