initialization moved up.