added part of share map functionality