fixed doc type and formatting