bed format doc