modified psurfviewer