added methods to finish for building the map with the pic class