removed useless pair parameter;