added map logic to the pas
added map logic to the rivers