commented out all cerr statements