removed some unused references.