added extra ALEX_DEBUG logging