What about keeping the previous way where you would `continue` if the condition is not met instead of nesting the conditions. That would make things more readable.