comp detection