unnessasary code removed from PotentialMap