added doe and length doe