remove all but the most recent hardcoded parameters from the copypasted code