updates to console.log and testing