started SPSStoR function