bars api: condensed conditional