Moved initializer variables into main