calculator - example