adding sound function