edit setup code