A few edits mostly having to do with \sd