implemented mic feature (lattest working version)