explanations and calculations