implemented RecognitionListener
created sr variable
put in error detecting logs