arg detection