r, a layer-by