modified order of operations for the initial setup, again.