added working detector