Adding if statements, modifying log info
Lubyspan code that might work
Making adj const