Errors should go to 'cerr' not to 'cout'