Implement bom detection