a calculator demo