writing inventory docs