removed dependence on ResScatterer type