check for `ag` first