renamed Sprime => S., reoordered x_ methods