added error returns for mic and rd