adapting detection mechanisms