CHanged the way the ss function works.