Cosmic-ray acceleration in supernova remnants by