Arch detection