if you are worried about performance then the `if` should go