Modified for testing without audio.