implemented wilting (partially)