detection done