changes acc acllback to console.log