function initialize2