added initialize code