Use both approach on active detection