since you use your if statement before as a guard (you return to the caller in case of if condition matching), you can remove the else keyword. I think this will make this section more readable : )