use api for flags