a small calc demo