weeding out unused components