made the calculator working