added AM flags