added compass console.log