diff --git a/js/app/models/LocalParamNode.js b/js/app/models/LocalParamNode.js
index 3fe2ec0..a699f72 100644
--- a/js/app/models/LocalParamNode.js
+++ b/js/app/models/LocalParamNode.js
@@ -12,13 +12,11 @@ Ext.define('amdaModel.LocalParamNode',
 {
 	extend: 'amdaModel.InteractiveNode',
 
-	statics:
-	{
+	statics: { 
 		nodeType: 'localParam'
 	},
 
-	fields:
-	[
+	fields: [
 		{name: 'alias', type:'string', persist: false},
 		{name: 'isParameter', type: 'boolean', persist: false},
 		{name: 'notyet', type: 'boolean', defaultValue: false, persist: false},
@@ -29,7 +27,12 @@ Ext.define('amdaModel.LocalParamNode',
 		{name: 'timeRestriction', type: 'boolean', persist: false},
 		{name: 'rank', type: 'integer', persist: false, defaultValue: null}
 	],
-
+	
+	icons : {'1' : 'icon-mercury','2' : 'icon-venus','3' : 'icon-sw','4' : 'icon-sw','5' : 'icon-earth','6' : 'icon-earth',
+				'7' : 'icon-mars','8' : 'icon-jupiter','9' : 'icon-saturn','10' : 'icon-uranus','11' : 'icon-neptune',
+				'93' :'icon-comet', '99' :'icon-solarsystem', '999' :'icon-solarsystem' 
+	},
+		
 	constructor : function(config)
 	{
 		this.callParent(arguments);
@@ -40,41 +43,21 @@ Ext.define('amdaModel.LocalParamNode',
 
 		// if future missions or 'depending on mission'
 		if (this.get('globalStart')) {
-		var now = Ext.Date.format(new Date(), 'Y/m/d');
-		if ( this.get('globalStart') > now )
-			this.set('cls','predicted');
+			var now = Ext.Date.format(new Date(), 'Y/m/d');
+			if ( this.get('globalStart') > now )
+				this.set('cls','predicted');
 		}
 // 		// time restriction on parameters
 // 		if (this.get('timeRestriction')) {
-// 		//      this.set('cls','predicted');
-// 			var id = this.get('id');
-// 			var bracketPos =  id.indexOf("(");
-// 			if (bracketPos > 0) {
-// 				id = Ext.String.insert(id, '_restr', bracketPos);
-// 			}
-// 			else {
-// 				id += '_restr';
-// 			}
-// 			this.set('id', id);
+//                  TBD
 // 		}
-  
+		
 		if (this.get('rank')) {
 			var rank = this.get('rank');
-			if (rank == 1) this.set('iconCls', 'icon-mercury');
-			if (rank == 2) this.set('iconCls', 'icon-venus');
-			if (rank == 5 || rank == 6) this.set('iconCls', 'icon-earth');
-			if (rank == 7) this.set('iconCls', 'icon-mars');
-			if (rank == 8) this.set('iconCls', 'icon-jupiter');
-			if (rank == 9) this.set('iconCls', 'icon-saturn');
-			if (rank == 10) this.set('iconCls', 'icon-uranus'); 
-			if (rank == 11) this.set('iconCls', 'icon-neptune');   
-			if (rank == 93) this.set('iconCls', 'icon-comet');
-			if (rank == 3 || rank == 4) this.set('iconCls', 'icon-sw');
-			if (rank >= 99) this.set('iconCls', 'icon-solarsystem');
+			this.set('iconCls', this.icons[rank]);
 		}
 
-		if (this.get('isParameter'))
-		{
+		if (this.get('isParameter')) {
 			if (this.get('leaf'))
 				this.set('iconCls', 'icon-scalar');
 			else
--
libgit2 0.21.2