Changes to params

Made changes to the function parameters and updated the datalist input