Added method S in rates generation