write preliminary docs