modified detection