work on rixs and xes