aj.py minor updated