finalize Calculator