Switch reference when contact 3