Do not need type, only bool flag ui is needed