only need calculator.c