No need to make this 'flags', it can be simply an enum as you're using 'case' to distinguish the cases