separate out flags