This implements a simple clean method