trying to get console.logging to work