removing extaneous parameters