testing for errors
testing for errors1
fixed variable naming issue
updated readme