change variable name from 'S' to 's'