Added cerr if no data retrieved