put in some mean-removal code