make console.log async