added comments explaining the variables in mapViewer