restored test and tested detect many as well