add initialize code