Adding a new method for Branch 2.