add code for detailed explanation.