finished adding indices param.