Add shares method with passing tests