adding new method for selecting last methods