added calculation example and updated index to show example