performing some calculator operations