after discussing it, this is actually better to override the position here, this is imho clearer and leads to less code, so better.

don't forget to remove the `type` calculation above too