container detection