first implementation for contaminated data