implmented the try logic with the help of Soedar using modal
fixed merge between trylogic and map-maker