almost working calculator