Commets to Olegs calculator code