before scaffold