console.log to test calculation