simplified console.log's for better understanding