intermediate1.R