first bit of putting doc in system