redid startup code