before_restart added 3