i tend to not use an ```else``` branch here., since the previous if is returning at the end anyway. this reduces indentation a little..