No need for else since you are returning out of this method if first condition matches.