Breakdown the R/S pipeline into two methods