changed s variable