leftovers transformation