detection stage for batbot