a0: added debug flags