Implement detect