removing checking from shares method, making it single responsibility