cahnges made to EditTrp and made the map work