Pre-controller logic