change initialization routine