Detection added but doesn't work