r-by-Layer