example calculations