refactoring medications (performer)