required parameters are passed standalone not part of options object
index location changed