Why would you combine two methods into one?