cleaner beagle code