changed parameters for invArgs