added reverse to slist