changes before random path generator attempts