Add removeHates function