calculator included in main class