no need to change it, but you can also just `return P(result)` without making a `d` here