basic doc initializing