minor changes
calculation