removing sleep, adding back restart