added shared acc support