adding start of doc and group constructors