added table show up when clicking the calc button