added max and min limits to getOpArgs