adding SPn document