testing the am flag