public int get(ParameterName variableName, int defaultValue){
		if(map.containsKey(variableName)){
			if(map.get(variableName) instanceof Integer || map.get(variableName) instanceof Float || map.get(variableName) instanceof Double){
				return Math.round(((Number)map.get(variableName)).floatValue());
			}
			throw new IllegalArgumentException("Variable " + variableName + ", value=" + map.get(variableName) + 
					". Can't be cast to int");
		}
		return defaultValue;
	}