finished main docs