adding last two methods in the pipeline