updated getinstance method params list