Added detection sample