Only thing I would have changed would be to not use a nested ```if```, and use an ```and``` in there instead.