implemented headphones plug reaction