calculator with proc,wtire handler arg1 and  arg2