Some cleanup and debug code, to test the casting for annobj. Works fine
Code watching