Auto arch detection