added some cerr