https://www.journeybytes.com/2015/01/tutorial-how-to-remove-doublemultiple.html