RE DETECTION FINAL