doc in detail