Adding writein_num to docs