add detection example