Now works with GetParameterFromIndex