rename variables when defining initialize procedure. squash thread var setting code