add detection