saner leftovers function