changed layout of sound code