refactoring 'rcS'