refactor 02_calculator