adding outstanding shares and better namespace logic