Add console.logs for testing.