In a top-loading machine, pouring detergent directly onto the wad of sheet as the water fills, you're taking a big risk that the soap will not dissolve and cause discoloration