added new methods to ParameterValue class