added sharedinit call