added doc and writeup