I see no reason the assign variables for this, just use it in the dependency straight away.

You need `comp` in multiple places, so keeping that does make sense.