added getShareArray()