Connect to five controller logic added